package vip.bblog.common.utils;

import java.util.UUID;

/**
 * Created by justin on 9/13/18.
 */
public class UUIDUtils {

    /**
     * 获得一个去掉"-"符号的UUID
     */
    public static String getUUID() {
        String s = UUID.randomUUID().toString();
        return s.substring(0, 8) + s.substring(9, 13) + s.substring(14, 18) + s.substring(19, 23) + s.substring(24);
    }
}
